<?php
define('APP_NAME', 'greentree');
define('HOST_NAME', 'localhost');
define('SUB_DIR', 'trunk');

// HTTP
define('HTTP_SERVER', 'http://'.HOST_NAME.'/'.APP_NAME.'/'.SUB_DIR.'/source/');
define('HTTP_IMAGE', 'http://'.HOST_NAME.'/'.APP_NAME.'/'.SUB_DIR.'/source/image/');
define('HTTP_ADMIN', 'http://'.HOST_NAME.'/'.APP_NAME.'/'.SUB_DIR.'/source/admin/');

// HTTPS
define('HTTPS_SERVER', 'http://'.HOST_NAME.'/'.APP_NAME.'/'.SUB_DIR.'/source/');
define('HTTPS_IMAGE', 'http://'.HOST_NAME.'/'.APP_NAME.'/'.SUB_DIR.'/source/image/');

// DIR
define('LOCAL_DIR', 'D:/xampp/htdocs/');
define('DIR_APPLICATION', LOCAL_DIR.APP_NAME.'/'.SUB_DIR.'/source/catalog/');
define('DIR_SYSTEM', LOCAL_DIR.APP_NAME.'/'.SUB_DIR.'/source/system/');
define('DIR_DATABASE', LOCAL_DIR.APP_NAME.'/'.SUB_DIR.'/source/system/database/');
define('DIR_LANGUAGE', LOCAL_DIR.APP_NAME.'/'.SUB_DIR.'/source/catalog/language/');
define('DIR_TEMPLATE', LOCAL_DIR.APP_NAME.'/'.SUB_DIR.'/source/catalog/view/theme/');
define('DIR_CONFIG', LOCAL_DIR.APP_NAME.'/'.SUB_DIR.'/source/system/config/');
define('DIR_IMAGE', LOCAL_DIR.APP_NAME.'/'.SUB_DIR.'/source/image/');
define('DIR_CACHE', LOCAL_DIR.APP_NAME.'/'.SUB_DIR.'/source/system/cache/');
define('DIR_DOWNLOAD', LOCAL_DIR.APP_NAME.'/'.SUB_DIR.'/source/download/');
define('DIR_LOGS', LOCAL_DIR.APP_NAME.'/'.SUB_DIR.'/source/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', 'root');
define('DB_DATABASE', 'greentree_vn');
define('DB_PREFIX', '');
?>